/*
 * Copyright (c) 2015 Infosys Ltd. All rights reserved.
 */
package com.infosys.cabplanning.common.domain;

import java.math.BigDecimal;

/**
 * The Class GeoCoordidnate.
 * Serves as the Vertex(Node) of the Graph.
 *
 * @author Anand_Sivadas01
 * @date Feb 28, 2015
 */
public class GeoCoordidnate {

	private String address;
	private BigDecimal latitude;
	private BigDecimal longitude;

	/**
	 * Gets the address.
	 *
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * Sets the address.
	 *
	 * @param address the new address
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * Gets the latitude.
	 *
	 * @return the latitude
	 */
	public BigDecimal getLatitude() {
		return latitude;
	}

	/**
	 * Sets the latitude.
	 *
	 * @param latitude the new latitude
	 */
	public void setLatitude(BigDecimal latitude) {
		this.latitude = latitude;
	}

	/**
	 * Gets the longitude.
	 *
	 * @return the longitude
	 */
	public BigDecimal getLongitude() {
		return longitude;
	}

	/**
	 * Sets the longitude.
	 *
	 * @param longitude the new longitude
	 */
	public void setLongitude(BigDecimal longitude) {
		this.longitude = longitude;
	}

	/**
	 * The main method.
	 *
	 * @param args the arguments
	 */
	public static void main(String[] args) {

	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "GeoCoordidnate [address=" + address + ", latitude=" + latitude
				+ ", longitude=" + longitude + "]";
	}

}
